//
//  baseView.h
//  footBoll
//
//  Created by zhoubaitong on 2017/10/12.
//  Copyright © 2017年 cckv. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol boolViewDelegate <NSObject>

@optional

- (void)clickBackButton;
- (void)gameOver;
- (void)winThisGame;

@end
@interface baseView : UIView

@property (nonatomic,weak) UIPanGestureRecognizer * pan;

@property (nonatomic,strong) UIDynamicAnimator * animator;

@property (nonatomic,strong) UIGravityBehavior * gravity;

@property (nonatomic,assign)CGRect rect;

@property (nonatomic,assign)BOOL isTouch;

@property (nonatomic,assign)BOOL isWin;

@property (nonatomic,assign) int index;

@property (weak, nonatomic) id<boolViewDelegate> delegate;

- (void)reload;

@end
